#define PutChar(c)	(*((char *)0xfff2) = c)

void main() {
	int i;
	int num = 0xAAAA;
	unsigned int mask = 0x8000;
	int mask1 = 0x8000;

	for (i = 0; i < 16; i++) {
		if (mask & num) {
			PutChar('1');
		} else {
			PutChar('0');
		}
		mask = mask >> 1;
	}
	PutChar('\n');

	for (i = 0; i < 16; i++) {
		if (mask1 & num) {
			PutChar('1');
		} else {
			PutChar('0');
		}
		mask = mask >> 1;
	}
	PutChar('\n');
}
